﻿using System;
using WareDealer.Mode;

namespace WareDealer.Works
{
    public abstract class JdWorkItem : IWorkItem
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 优先级
        /// </summary>
        public int Priority { get; set; }
        /// <summary>
        /// 工作内容
        /// </summary>
        public Object WorkItems { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public EnumGatherStatu Statu { get; internal set; }
        /// <summary>
        /// 返回结果集
        /// </summary>
        public object ResultItems { get; internal set; }

        /// <summary>
        /// 时长
        /// </summary>
        public int Time { get; set; }

        public abstract void ExecItem();
    }
}
